//
//  TGUrlInfoModel.m
//  TongGuanLease
//
//  Created by 张奇 on 2022/5/27.
//

#import "TGUrlInfoModel.h"

@implementation TGUrlInfoModel

//- (NSString *)url {
////    if (![_url containsString:@"https"]) {
////        _url = StringFormat(PhotoPrefixURL, _url);
////    }
//    return _url;
//}

+ (TGUrlInfoModel *)urlInfoModelWithFileName:(NSString *)filename url:(NSString *)fullPath {
    TGUrlInfoModel *urlInfoModel = [[TGUrlInfoModel alloc] init];
    urlInfoModel.filename = filename;
    urlInfoModel.fullPath = fullPath;
    return urlInfoModel;
}

- (NSString *)description {
    return [NSString stringWithFormat:@"filename: %@ ---  fullPath: %@", _filename, _fullPath];
}

@end
